<?php

class Book{
	private $bookid;
	private $namebook;
	private $price;
	private $discount;
	private $page;
	
	public function __construct($bookid=null, $namebook=null, $price=null, $discount=null, $page=null){
		$this->bookid = $bookid;
		$this->namebook = $namebook;
		$this->price = $price;
		$this->discount = $discount;
		$this->page = $page;
	
	}
	
	public function setIDbook($bookid){
		$this->bookid = $bookid;
	}
	public function getIDbook(){
		return $this->bookid;
	}
	
	
	public function setNameBook($namebook){
		$this->namebook = $namebook;
	}
	public function getNameBook(){
		return $this->namebook;
	}
	
	
	public function setPriceBook($price){
		$this->price = $price;
	}
	public function getPriceBook(){
		return $this->price;
	}
	
	
	public function setPageBook($page){
		$this->page = $page;
	}
	public function getPageBook(){
		return $this->page;
	}
	
	
}


?>